@import '@/styles/color';
@import '@/styles/token';

.header {
  height: 56px;
  gap: 12px;
  padding: 8px 20px;
  overflow-x: auto;
  overflow-y: hidden;

  .icon-back {
    color: @BLANK17;
    font-size: 18px;
  }

  .logo {
    width: 27px;
    height: 27px;
    border-radius: 5px;
    object-fit: cover;
  }

  .section {
    gap: 6px;

    .top-box {
      gap: 10px;
      color: @BLANK04;

      .name {
        max-width: 200px;
        font-size: 14px;
        font-weight: @fontWeightStrong;
      }

      .bottom-box {
        gap: 8px;

        .box {
          display: inline-block;
          padding: 0 5px;
          line-height: 18px;
          background-color: @BLANK18;
          color: @BLANK04;
          font-size: 10px;
          border-radius: 4px;
        }
      }
    }
  }

  .dropdown-icon {
    font-size: 12px;
  }
}

@media (max-width: 768px) {
  .header {
    margin-bottom: 10px;
  }

  .radio-group-box {
    flex-wrap: nowrap;

    :global {
      .ant-radio-button-label {
        white-space: nowrap;
      }

      .ant-radio-group {
        display: flex;
        flex-wrap: nowrap; /* 禁止换行 */
      }

      .ant-radio-button {
        flex: 0 0 auto; /* 防止按钮被压缩 */
      }
    }
  }

  .box {
    white-space: nowrap;
  }
}
